var windowName = "test";
apiready = function(){
    onWindowShow(function () {
    })
    onWindowHide(function () {
    })
    console.log("index page is OK");
    var Page = createVM("#Page",{
        //页面数据
        banner:["https://ws3.sinaimg.cn/large/005BYqpggy1g25p7o5304j30b405nn0a.jpg"],
        list:[1,2,3,4]
    },{
        //页面方法
        "init":function () {
            // showLoading()
        },
        "wxSend":function () {
            log("123")
        }
    })

    Page.init()

}


